<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>控制台_<{$sitetitle}></title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<{$JS_PATH}>js/general.js"></script>
</head>

<body>
<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;资讯类别管理</div></td></tr>
</table>
<br />
<!-- 标题 -->
<form name="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><input type="checkbox" name="newstypeidAll" onClick="uaCheckAll(this, 'newstypeid[]')" title="全选"></td>
<td><span>类别名称</span></td>
<td>添加新闻</td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td></tr>
<tbody id="menu_1" style="display: yes"><{foreach from=$NewstypeList item=v name=newstypes}>
<tr bgcolor="<{cycle values="#eeeeee,#ffffff"}>" align="center">
<td><input type="checkbox" name="newstypeid[]" value="<{$v.NewstypeId}>" onClick="uaCheckItem(this, 'newstypeidAll')"></td>
<td><a href="./newstype.php?action=view&id=<{$v.NewstypeId}>" title="查看或者修改">
  <{$v.NewstypeName|truncate:35}>
</a></td>
<td><a href="./news.php?action=mod&sid=<{$v.NewstypeId}>">添加</a></td>
<td><a href="./newstype.php?action=mod&id=<{$v.NewstypeId}>"><img src="<{$tpl_img_path}>admin/mod.gif" border="0" alt="修改"></a>  <a href="./newstype.php?action=del&id=<{$v.NewstypeId}>"><img src="<{$tpl_img_path}>admin/delete.gif" border="0" alt="删除"></a></td>
</tr>
<{foreachelse}>
<tr bgcolor="#ffffff">
<td colspan="5" align="center"><strong>目前没有任何数据</strong></td>
</tr>
<{/foreach}>
</tbody>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="5"><{$ByPages}></td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="3"><input class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" type="submit" name="del" value="删除" onClick="return confirmAction('确定删除吗?');"></td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<!-- 快速添加 -->
<form name="quickaddfrm" action="" method="post">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
<tr class="header"><td colspan="5"><div align="left">快速添加</div></td></tr>
<tr>
	<td width="9%"><div align="right">类别名称 :</div></td>
	<td width="15%"><input name="newstype[name]" type="text" id="newstype_name"></td>
	<td width="10%"><div align="right">上级类别 :</div></td>
	<td><select name="newstype[parent_id]" id="parent_id">
		  <option value="0">根目录</option>
		  <{html_options options=$AllParents selected=$n.NewstypeParentId}>
		  </select></td>
	<td><input name="save" type="submit" id="save" value="添加" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
  </tr>
</table>
</form>
<!-- 结束new -->

</body>
</html>
